$font-primary: 'Roboto', Arial, serif;
$font-secondary: 'Roboto Slab', Arial, sans-serif;
// Overrides
$grid-gutter-width: 40px !default; 
$border-radius-base:  4px !default;
$padding-base-vertical: 14px !default;

$brand-primary: #2da9d7 !default;
$brand-secondary: #DA1212 !default; 

$brand-white: #fff;
$brand-black: #000;
$brand-lighter: #848484;
$brand-darker: #212121;
$brand-selection-color: $brand-primary;
$brand-body-color: #fcfcfc;
$brand-body-bg: #fff;
$brand-dark: #222831;


$input-border-focus: $brand-primary !default;
$form-group-margin-bottom: 30px !default;



// Mixin
@mixin fh5co-translateX($translatex) {
	-moz-transform: translateX($translatex);
	-webkit-transform: translateX($translatex);
	-ms-transform: translateX($translatex);
	-o-transform: translateX($translatex);
	transform: translateX($translatex);
}

@mixin transition($transition) {
    -moz-transition:    all $transition ease;
    -o-transition:      all $transition ease;
    -webkit-transition: all $transition ease;
    -ms-transition: 		all $transition ease;
    transition:         all $transition ease;
}
@mixin inline-block() {
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
}
@mixin flex() {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: flex;
}
@mixin border-radius($radius) {
  -webkit-border-radius: $radius;
     -moz-border-radius: $radius;
      -ms-border-radius: $radius;
          border-radius: $radius;
}
@mixin flex() {
	display: -webkit-box;      
  	display: -moz-box;         
  	display: -ms-flexbox;      
  	display: -webkit-flex;     
  	display: flex;             
}
@mixin flexwrap() {
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap; 
	-moz-flex-wrap: wrap; 
}

@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon/icomoon.eot?srf3rx');
	src:url('../fonts/icomoon/icomoon.eot?srf3rx#iefix') format('embedded-opentype'),
		url('../fonts/icomoon/icomoon.ttf?srf3rx') format('truetype'),
		url('../fonts/icomoon/icomoon.woff?srf3rx') format('woff'),
		url('../fonts/icomoon/icomoon.svg?srf3rx#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

@mixin icomoon() {
	
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
}

// Import 
@import 'bootstrap/mixins';
@import 'bootstrap/variables';




/* =======================================================
*
* 	Template Style 
*	Edit this section
*
* ======================================================= */

// Template Base

body {
	font-family: $font-primary;
	line-height: 1.8;
	font-size: 16px;
	background: $brand-body-bg;
	color: #848484;
	font-weight: 300;
	overflow-x: hidden;
	&.fh5co-offcanvas {
		overflow: hidden;
	}
}
a {
	color: $brand-primary;
	@include transition(.5s);
	&:hover{
		text-decoration: none !important;
		color: $brand-primary !important;
	}
	&:active, &:focus {
		outline: none;
	}
}
p, ul, ol {
	margin-bottom: 1.5em;
	font-size: 15px;
	color: $brand-lighter;
	// font-weight: 300;
	font-family: $font-primary;
}

h1, h2, h3, h4, h5, h6 {
	color: $brand-darker;
	font-family: $font-primary;
	font-weight: 400;
	margin: 0 0 20px 0;
}
figure {
	margin-bottom: 2em;
}
::-webkit-selection {
  color: $brand-body-color;
  background: $brand-selection-color;
}

::-moz-selection {
  color: $brand-body-color;
  background: $brand-selection-color;
}

::selection {
  color: $brand-body-color;
  background: $brand-selection-color;
}

#fh5co-header {
	padding-top: 40px;
	margin-bottom: 30px;
	#fh5co-logo {
		img {
			max-width: 100%;
		}
	}
	nav {
		padding-top: 20px;
		ul {
			padding: 0;
			margin: 0;
			li {
				padding: 0;
				margin: 0;
				@include inline-block;
				list-style: none;
				font-size: 15px;
				a {
					color: lighten($brand-black, 60%)!important;
					padding: 10px;
					@media screen and (max-width: $screen-xs) {
						padding: 5px;
					}
					&:hover, &:active, &:focus {
						color: $brand-black!important;
						text-decoration: none;
						outline: none;
					}
				}
				&.active {
					a {
						text-decoration: line-through!important;
						color: lighten($brand-black, 0%)!important;
					}
				}
			}
		}
	}
}




.fh5co-projects-feed, .footer-content { margin: 0 auto; max-width: 1400px; }
.fh5co-projects-feed  .fh5co-project {
	float: left;
	margin: 20px 20px 20px;
	width: 290px;
	@media screen and (max-width: $screen-xs) {
		margin: 10px 10px 10px;
	}
	> a {
		display: block;
		text-align: center;
		img {
			margin-bottom: 30px;
		}
		h2 {
			font-size: 14px;
			color: lighten($brand-black, 60%);
			@include transition(.3s);
		}
		&:hover, &:active, &:focus {
			h2 {
				color: $brand-black;
			}
		}
	}

}
.masonry,
.masonry .masonry-brick {
	-webkit-transition-duration: 0.7s;
	transition-duration: 0.7s;
}
.masonry {
	-webkit-transition-property: height, width;
	transition-property: height, width;
}
.masonry .masonry-brick {
	-webkit-transition-property: left, right, top;
	transition-property: left, right, top;
}

.page-content {
	margin: 0 auto;
	max-width: 620px;
	width: 100%;
	padding-top: 70px;
	padding-bottom: 70px;
	img {
		max-width: 100%;
	}
	@media screen and (max-width: $screen-sm) {
		padding-left: 15px;
		padding-right: 15px;
	}
	.mb0 {
		margin-bottom: 0;
	}
	.meta {
		margin-bottom: 20px;
		span {
			color: lighten($brand-black, 75%);
		}
		a {
			color: lighten($brand-black, 75%);
			&:hover, &:active, &:focus {
				color: $brand-black!important;
			}
		}
	}
	@media screen and (max-width: $screen-xs) {
		padding-top: 30px;
		padding-bottom: 30px;
	}
}

#fh5co-footer {
	float: left;
	width: 100%;
	background: lighten($brand-black, 92%);
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	color: lighten($brand-black, 60%);
	a {
		color: lighten($brand-black, 75%);
		&:hover, &:active, &:focus {
			color: $brand-black!important;
		}
	}
	.social {
		margin-top: 20px;
		a {
			padding: 10px;
			color: lighten($brand-black, 60%)!important;
			@media screen and (max-width: $screen-xs) {
				padding: 5px;
			}
			&:hover, &:active, &:focus {
				color: $brand-black!important;
			}
		}
	}
}
.square {
	list-style: square;
}
.pt70 {
	padding-top: 70px;
	@media screen and (max-width: $screen-xs) {
		padding-top: 30px;
	}
}
.pb70 {
	padding-bottom: 70px;
	@media screen and (max-width: $screen-xs) {
		padding-bottom: 30px;
	}
}